<template>
<el-config-provider :locale="locale">
<ViewHeadV2/>

<PageCustomize/>

<!--router-view/-->

</el-config-provider>
</template>

<script>
//import PageStock from '@/components/PageStock.vue'
import ViewFooter from '@/components/ViewFooter.vue'
import PageCustomize from '@/components/PageCustomize'
import ViewHeadV2 from '@/components/ViewHeadV2'
//import { setAddRoutes } from '@/router/index'
export default {
  name: 'App',
  components: {
    ViewFooter,
    ViewHeadV2,
    [ElConfigProvider.name]:ElConfigProvider,
  },
  data(){
    return{
      locale:zhCn
    }
  }
  /*created() {
    setAddRoutes();
  }*/
}
</script>

<script setup>
//import zhCn from "element-plus/lib/locale/lang/zh-cn"
import {ElConfigProvider} from 'element-plus'
import zhCn from 'element-plus/lib/locale/lang/zh-cn'
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}

body {
  text-align: center;
}
</style>
